package com.snack.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.snack.common.core.annotation.Excel;
import com.snack.common.core.web.domain.BaseEntity;

/**
 * 消息对象 ts_msg
 * 
 * @author snack
 * @date 2022-09-18
 */
@Data
public class TsMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long msgId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summary;

    /** wx,app,pc */
    @Excel(name = "wx,app,pc")
    private String userType;

    /** 接收人id */
    @Excel(name = "接收人id")
    private Long userId;

    /** 接收人编码 */
    @Excel(name = "接收人编码")
    private String userCode;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 实体id，订单或是提现之类 */
    @Excel(name = "实体id，订单或是提现之类")
    private Long objectId;

    /** 实体类型 */
    @Excel(name = "实体类型")
    private String objectType;

    /** 图片资源 */
    @Excel(name = "图片资源")
    private String pics;

    /** 1已读，0未读 */
    @Excel(name = "1已读，0未读")
    private String read;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
}
